export default class GameItem extends Laya.Script {
    
    constructor() { super(); }
    
    snowMan: Laya.Sprite;
    snowBall: Laya.Sprite;
    
    onEnable(): void {
        let owner = this.owner as Laya.Sprite;
        this.snowMan = owner.getChildByName('snowMan') as Laya.Sprite;
        this.snowBall = owner.getChildByName('snowBall') as Laya.Sprite;
    }

    onUpdate() {
        
    }

    onDisable(): void {
    }
}